package com.gy.yemall.yemallproduct.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.gy.common.utils.PageUtils;
import com.gy.yemall.yemallproduct.entity.AttrEntity;
import com.gy.yemall.yemallproduct.entity.vo.AttrAtrrGroupRelationVo;
import com.gy.yemall.yemallproduct.entity.vo.AttrVo;

import java.util.List;
import java.util.Map;

/**
 * 商品属性
 *
 * @author ye
 * @email 2900801226@qq.com
 * @date 2021-09-30 16:28:53
 */
public interface AttrService extends IService<AttrEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void saveAndRelation(AttrAtrrGroupRelationVo attrAtrrGroupRelationVo);

    PageUtils show(Map<String, Object> params, Long catId, String type);

    AttrVo getInfoBy(Long attrId);

    void updateDetail(AttrVo attrVo);

    List<Long> queryByAttrIds(List<Long> attrIds);
}

